﻿using IRepositories;
using iService;
using Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Service
{
    internal class calculateService : icalculateService
    {
        icalculate _calculateRep = new calculateRepository();

        public int sum(int x, int y)
        {
            return _calculateRep.sum(x, y);
        }
    }
}